package com.loong.system.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "system_feedback")
public class SystemFeedback extends BaseEntity {
    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 用户类型
     */
    @Column(name = "user_type")
    private Integer userType;

    /**
     * 区号
     */
    @Column(name = "area_code")
    private String areaCode;

    /**
     * 手机号码
     */
    @Column(name = "phone_num")
    private String phoneNum;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否回复
     */
    private Boolean replied;

    /**
     * 回复的id
     */
    @Column(name = "reply_id")
    private Long replyId;

    /**
     * 回复时间
     */
    @Column(name = "reply_time")
    private Date replyTime;

    /**
     * 回复人的id
     */
    @Column(name = "replier_id")
    private Long replierId;

    /**
     * 回复人
     */
    private String replier;

    /**
     * 反馈类型id
     */
    @Column(name = "feedback_type_id")
    private Long feedbackTypeId;

    /**
     * 用户评价
     */
    private String comment;

    /**
     * 用户评分
     */
    private Float score;

    /**
     * 完成时间
     */
    @Column(name = "complete_time")
    private Date completeTime;
}